package com.gloaba.logservice.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "log.dingtalk.robot")
public class CustomProperties {
    private String accessToken;
    private String secret;
    private Boolean atAll = false;
    private List<String> atMobiles = new ArrayList<>();
    private List<String> atUserIds = new ArrayList<>();
}
